package com.hangxiang.approval.common;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (RoleMenu)实体类
 *
 * @author makejava
 * @since 2020-11-26 14:01:42
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "信息类")
public class RoleMenuCommon extends Model<RoleMenuCommon> implements Serializable {
    private static final long serialVersionUID = 408059241289245251L;

    @ApiModelProperty("$column.comment")
    private Integer id;

    @ApiModelProperty("$column.comment")
    private Integer roleId;
    /**
     * 一级菜单id
     */
    @ApiModelProperty("一级菜单id")
    private Integer firstId;
    /**
     * 二级菜单id
     */
    @ApiModelProperty("二级菜单id")
    private Integer secondId;
    /**
     * 一级菜单名称
     */
    @ApiModelProperty("一级菜单名称")
    private String firstName;

    @ApiModelProperty("菜单类型")
    private Integer menuType;

    /**
     * 二级菜单名称
     */
    @ApiModelProperty("二级菜单名称")
    private String secondName;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("$column.comment")
    private Integer isDeleted;


}